package account;

import account.hystrix.OrderFeignFallbackFactory;
import api.OrderFeignApi;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import pojo.Order;

import java.util.List;

@FeignClient(name = "order-service", configuration = {BBB.class}, fallbackFactory = OrderFeignFallbackFactory.class)
public interface OrderFeign extends OrderFeignApi {

}

